package prototype.deepclone;

import java.io.Serializable;

/**
 * @author shenhan
 * @create 2020/3/20 11:22
 * @description 深拷贝
 */
public class DeepCloneableTarget implements Serializable, Cloneable {
    private static final long serialVersionUID = 1L;
    private String cloneName;
    private String cloneClass;

    public DeepCloneableTarget(String cloneName, String cloneClass) {
        this.cloneClass = cloneClass;
        this.cloneName = cloneName;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
